import Ele from './Ele'
export default class TextEle extends Ele {
    getView () {
        return this.ele.nodeValue
    }
    draw () {
        super.draw()
        this.ele.nodeValue = this.fn.call(this.subject)
    }
    update () {
        this.ele.nodeValue = this.fn.call(this.subject)
    }
}